
//JS
layui.use(['table','layer'], function() {
    var table = layui.table,
        layer = layui.layer,
        $ = layui.$;

    <!-- 动态表格 -->
    table.render({
        elem: '#schedule-table',
        toolbar: '#scheduleToolBar',
        page: true,
        url: "/getPaper",
        where: {queryKey: '', state: '',type: 3},
        height:500,
        cols:[
            [ //标题栏
                {field: 'cid' , sort: true, title: '学院', align: 'center'},
                {field: 'xtId' , sort: true, title: '课题编号', align: 'center'},
                {field: 'bh' , sort: true, title: '论文编号', align: 'center'},
                {field: 'title', title: '课题名称', align: 'center'},
                {field: 'sno', title: '学生学号', width: 180, align: 'center'},
                {field: 'sname', title: '学生姓名', width: 90, align: 'center'},
                {field: 'tno', title: '指导教师工号', width: 180, align: 'center'},
                {field: 'state', title: '当前进度', align: 'center'}
            ]
        ]
        , even: true
        , page: true
        , limits: [14, 28, 42]
        , limit: 14
        , text: {
            none: '<div class="layui-anim layui-anim-scaleSpring"  style="margin-top: 150px"><i class="layui-icon" style="color: #009f95;font-size: 150px;border-bottom: #009f95 solid 2px;padding:15px;margin-top: 50px" >&#xe664;</i><br>' +
                '<br><br><br><br><div class="layui-text" style="font-size: 25px;margin-top: 25px;color: #009f95">好像没有没找到数据呢</div></div>'
            ,
            error: '<div style="margin-top: 150px"><i class="layui-icon"  style="color: #009f95;font-size: 150px;border-bottom: #009f95 solid 2px;padding:15px;margin-top: 50px" >&#xe664;</i><br>' +
                '<br><div class="layui-text" style="font-size: 25px;margin-top: 25px;color: #009f95">好像没有出错了呢</div></div>'
        }
    });


});